/* import Layouts from './routes/Layouts'
import Home from './routes/Home';
import User from './routes/User';
import Profile from './routes/Profile';
import Register from './routes/Register';
import Login from './routes/Login'; */
export default   [
  {
      path:'/',
      component:()=>import('./routes/Layouts'),
      children:[
        {
            path:'/home',
            component:()=>import('./routes/Home')
        },
        {
            path:'/user',
            component:()=>import('./routes/User')
        },
        {
            path:'/profile',
            component:()=>import('./routes/Profile'),
            needLogin:true
        },
        {
            path:'/register',
            component:()=>import('./routes/Register')
        }, {
            path:'/login',
            component:()=>import('./routes/Login')
        }
      ]
  }
]